#pragma once

#include "ScriptCompiler/ASTBuilder/ASTBuilder.h"

class CWhileNode;

class CWhileBuilder : public IASTBuilder
{
public:
    CWhileBuilder(std::shared_ptr<CScriptFileContext> InContext);
    
    virtual bool ReadCurentToken() override;

    std::shared_ptr<CWhileNode> Result;

protected:
    std::shared_ptr<CScriptFileContext> Context;

};